FROM centos:7.9.2009
# 基于 centos7.9 

MAINTAINER hecf 

# 复制解压jdk
ADD jdk-8u231-linux-x64.tar.gz  /opt/
# jdk env
ENV JAVA_HOME=/opt/jdk1.8.0_231
ENV CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar 
ENV PATH=$JAVA_HOME/bin:$PATH

# 复制 apollo
RUN mkdir /opt/apollo
COPY apollo-adminservice-1.3.0.jar /opt/apollo/
COPY apollo-configservice-1.3.0.jar /opt/apollo/
COPY apollo-portal-1.3.0.jar /opt/apollo/
COPY runApollo.sh /opt/apollo/

